package com.yyge.controller.mobile.mapstruct;

import com.yyge.controller.admin.product.req.ProductReq;
import com.yyge.entity.Product;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ProductConvert {
    ProductConvert MAPPER= Mappers.getMapper(ProductConvert.class);

    Product convert(com.yyge.controller.mobile.product.req.MobileProductReq req);
}
